<?php
class RM_User_VideoController extends RM_Controller
{
    public function showAction(){
        ob_clean();
        $unitID = $this->_getParam('unit_id');
        $videoModel = new RM_Video();
        $video = $videoModel->fetchByUnit($unitID)->current();
        $this->view->video = $video;
        echo $this->view->render('Video/player.phtml');
        die();
    }
}